CC = gcc
LD = -lavformat -lavcodec -lavutil -lswscale -lpthread -lm -lz -lSDL


videoplayer : videoplayer.o
	$(CC) -g $< -o $@ $(LD)

videoplayer.o : videoplayer.c
	$(CC) -c -g $<

clean :
	rm *.o videoplayer
